<extend name="public:base" />

<block name="body">
    <include file="public/bread" menu="applymanage_index" title="管理下载列表" />

    <div id="page-wrapper">
        <h1>上传用户下载表</h1>

        <form action="{:url("ApplyManage/add")}" enctype="multipart/form-data" method="post" class="input-group-append" >
            <input type="file" name="image" />
            <br>
            <input class="btn btn-outline-secondary" type="submit" value="上传" />
        </form>

        <br />
        <table border="1" class="table table-hover table-striped">
            <tr><h2>用户下载信息</h2></tr>
            <tr>
                <td align="center">ID</td>
                <td align="center">标题</td>
                <td align="center">描述</td>
                <td align="center">下载日期</td>
                <td align="center">删除商品</td>
                <td align="center">编辑商品</td>
            </tr>

            <volist name="data2" id="vo" >
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.title}</td>
                    <td>{$vo.describle}</td>
                    <td>{$vo.create_time}</td>

                    <!--                重点！！！！！！！获取id-->
                    <td><a class="btn btn-outline-danger link-confirm" href="{:url('ApplyManage/deleteinfo')}?id={$vo.id}">删除</a> </td>
                    <td><a class="btn btn-outline-primary" href="{:url('ApplyManage/edit')}?id={$vo.id}">编辑</a> </td>
                </tr>
            </volist>
        </table>
    </div>

</block>
